﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EncuentraWEB
{
    public partial class prueba : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
           
        }

        protected void Button2_Click(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
           
        }

        protected void Button2_Click1(object sender, EventArgs e)
        {
        
            
        }

        protected void Button3_Click(object sender, EventArgs e)
        {
            ModalPopupExtender1.TargetControlID = "Button3";
            ModalPopupExtender1.Show();
        }

        protected void Button1_Click1(object sender, EventArgs e)
        {
            ModalPopupExtender1.TargetControlID = "Button1";
            ScriptManager.RegisterStartupScript(this.Button1, Button1.GetType(), "PRUEBA", "ShowEditModal();", true);
            ModalPopupExtender1.Show();
            //ScriptManager.RegisterStartupScript(this.Button1, Button1.GetType(), "PRUEBA", "$find('EditModalPopup').show();", true);

        }
    }
}
